CVE-2026-20779
Gitea TOTP single-use enforcement defect allows OTP replay
Description
Gitea versions from 1.5.0 before 1.26.3 have a TOTP single-use enforcement defect that allows a valid TOTP code to be accepted more than once across web two-factor authentication flows and the Basic Auth X-Gitea-OTP path.
INFO
Published Date :
July 3, 2026, 8:19 p.m.
Last Modified :
July 3, 2026, 8:19 p.m.
Remotely Exploit :
No
Source :
Gitea
Affected Products
The following products are affected by CVE-2026-20779
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update Gitea to version 1.26.3 or later.
- Verify TOTP enforcement is correctly applied.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-20779 vulnerability anywhere in the article.